﻿using MiniFox.Infrastructure;
using MiniFox.Infrastructure.Attributes;
using Newtonsoft.Json;

namespace Biz.Core.Models
{
    public class SearchModel
    {
        [TargetProperty("DeviceName", QueryOperation.Contain)]
        [JsonProperty("keyword")]
        public string Keyword { get; set; }
    }

    public class OrderSearchModel
    {
        [TargetProperty("OrderID", QueryOperation.Contain)]
        [JsonProperty("keyword")]
        public string Keyword { get; set; }
    }
}
